<?php

require_once dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';
sfCoreAutoload::register();

class ProjectConfiguration extends sfProjectConfiguration
{
  public function setup()
  {
    // for compatibility / remove and enable only the plugins you want
    //$this->enableAllPluginsExcept(array('sfDoctrinePlugin', 'sfCompat10Plugin'));
    $this->enablePlugins('sfPropelPlugin');
    $this->enablePlugins('sfFormExtraPlugin');
    $this->enablePlugins('sfGuardPlugin');
    $this->enablePlugins('sfSimpleGoogleSitemapPlugin');

    // Set default error message
    sfValidatorBase::setDefaultMessage('required', 'Campo obrigat&oacute;rio.');
    $this->enablePlugins('sfPicasaPlugin');
  }
}
